#include <iostream>
#include <iomanip>

int main() {
    double literal = 0.075;
    double calculated = 6.0/80;
    
    std::cout << "=== 十六进制对比 ===" << std::endl;
    std::cout << std::hexfloat;
    std::cout << "字面量 0.075: " << literal << std::endl;
    std::cout << "计算 6.0/80:  " << calculated << std::endl;
    
    std::cout << std::fixed << std::setprecision(17);
    std::cout << "字面量十进制: " << literal << std::endl;
    std::cout << "计算值十进制: " << calculated << std::endl;
    
    std::cout << "字面量 < 计算值: " << (literal < calculated) << std::endl;
    
    return 0;
}

